package com.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.PestBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author RJ
 * @date 2022/9/14 15:45
 */
@Repository
public interface IPestDao extends BaseMapper<PestBean> {
    IPage<PestBean> cutPestByItem(Page<PestBean> page, @Param("name") String pestName, @Param("host") String pestHost);
}
